// 用户 发出 请求
//  导入
import axios from '@/utils/index.js'

export const getArticleList = (channelId, timestamp) => axios({
  method: 'get',
  url: '/v1_0/articles',
  params: {
    channel_id: channelId,
    timestamp
  }
})
// 获取 文章 详情
export const getArticleById = (id) => axios({
  method: 'get',
  url: '/v1_0/articles/' + id
})
